package com.chinaway.mobile.model;

import java.io.Serializable;
/**
 * code = 11 需要 手动确认
 */
/**
 * @author lenovo
 *
 */
public class Account implements Serializable{
	private static final long serialVersionUID = 4741890482932718067L;
	public final static String SUCCESS="1";
	public final static String FAIL="0";
	private int code = -1 ;
	private String mobile ;
	private String password ;
	private String city ;
	private String success ;//1 成功 2失败
	private String message ;
	private String balance ; //余额
	private String xyBalance;//协议款余额
	private String cardType ;//SIM卡的类型
	private String expires ;//有效期
	private String chit;	//短彩信费用
	private String net;		//上网费用
	private String valueAdded;//增值业务费
	private String charge;	//代收费
	private String total;	//本月合计费用
	private String gprs;//总流量
	private String usedgprs;//已使用流量
	
	public Account(){
	}
	public Account(String mobile ,String password,String city){
		this.mobile = mobile;
		this.password = password;
		this.city = city;
	}
	public Account(String mobile ,String password){
		this.mobile = mobile;
		this.password = password;
	}
	public Account(String mobile ,String password,int code,String success, String message){
		this.mobile = mobile;
		this.password = password;
		this.code = code;
		this.success = success;
		this.message = message;
	}
	public String getBalance() {
		return balance;
	}
	
	public String getSuccess() {
		return success;
	}
	public void setSuccess(String success) {
		this.success = success;
	}
	public void setBalance(String balance) {
		this.balance = balance;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getExpires() {
		return expires;
	}
	public void setExpires(String expires) {
		this.expires = expires;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMobile() {
		return mobile;
	}
	public String getPassword() {
		return password;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getChit() {
		return chit;
	}
	public void setChit(String chit) {
		this.chit = chit;
	}


	public String getNet() {
		return net;
	}
	public void setNet(String net) {
		this.net = net;
	}
	public String getCharge() {
		return charge;
	}
	public void setCharge(String charge) {
		this.charge = charge;
	}
	public String getTotal() {
		return total;
	}
	public void setTotal(String total) {
		this.total = total;
	}
	public String getValueAdded() {
		return valueAdded;
	}
	public void setValueAdded(String valueAdded) {
		this.valueAdded = valueAdded;
	}
	public String getXyBalance() {
		return xyBalance;
	}
	public void setXyBalance(String xyBalance) {
		this.xyBalance = xyBalance;
	}
	public String getGprs() {
		return gprs;
	}
	public void setGprs(String gprs) {
		this.gprs = gprs;
	}
	public String getUsedgprs() {
		return usedgprs;
	}
	public void setUsedgprs(String usedgprs) {
		this.usedgprs = usedgprs;
	}
	@Override
	public String toString() {
		return "Account [code=" + code + ", mobile=" + mobile + ", password="
				+ password + ", city=" + city + ", success=" + success
				+ ", message=" + message + ", balance=" + balance
				+ ", xyBalance=" + xyBalance + ", cardType=" + cardType
				+ ", expires=" + expires + ", chit=" + chit + ", net=" + net
				+ ", valueAdded=" + valueAdded + ", charge=" + charge
				+ ", total=" + total + ", gprs=" + gprs + ", usedgprs="
				+ usedgprs + "]";
	}
	
	
	
}
